package com.three.vip.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.three.core.entity.UserBalanceLog;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author ：JinShiYan
 * @date ：Created in 2025/3/18 11:04
 * @description：
 * @modified By：
 * @version:
 */
public interface UserBalanceLogMapper extends BaseMapper<UserBalanceLog> {
    List<UserBalanceLog> selectAllBalanceLog(Integer userId);

    IPage<UserBalanceLog> selectByCondition(@Param("page") Page<UserBalanceLog> page,
                                            @Param("userName") String userName,
                                            @Param("userId") Integer userId);
}
